.er-diagram-container {
    width: 100%;
    height: 100%;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    background-color: #fafafa;
    overflow: hidden;
    position: relative;
    min-height: 500px;
  }
  
  .er-diagram-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 500px;
    border: 1px dashed #d9d9d9;
    border-radius: 8px;
    background-color: #fafafa;
  }
  
  .empty-message {
    padding: 20px;
    text-align: center;
    color: #999;
    font-size: 16px;
  }
  
  /* 自定义节点样式 */
  .custom-node {
    cursor: pointer;
    transition: all 0.3s;
  }
  
  .custom-node:hover {
    filter: drop-shadow(0 0 6px rgba(24, 144, 255, 0.3));
  }
  
  /* 连接线样式 */
  .link {
    stroke: #a0a0a0;
    stroke-width: 2;
    fill: none;
  }
  
  .link:hover {
    stroke: #ff9e00;
    stroke-width: 3;
  }
  
  /* 连接标签 */
  .link-label {
    fill: #666;
    font-size: 12px;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 2px 5px;
    border-radius: 3px;
    pointer-events: none;
  }